#ifndef NETWORKGETIMAGEREQUEST_H
#define NETWORKGETIMAGEREQUEST_H

#include <network/networkabstractgetimagerequest.h>

namespace Network {
class GetImageResponse;
class GetImageRequest : public Network::AbstractGetImageRequest
{
    Q_OBJECT
public:
    explicit GetImageRequest(const QString &imageUrl, QObject *parent = 0);
    ~GetImageRequest();

public:
    const Network::Response &imageResponse() const;

private:
    Network::Response &imageResponse();
    QUrl url() const;
    
private:
    GetImageResponse *m_response;
    QString m_imageUrl;
};

} // namespace Network

#endif // IMAGEGETIMAGEREQUEST_H
